public abstract class BaseGrid
{
    private Pos pos;
    public BaseGrid(Pos pos)
    {
        this.pos = pos;
    }
    public Pos GetPos()
    {
        return pos;
    }
    public int GetX()
    {
        return pos.x;
    }
    public int GetY()
    {
        return pos.y;
    }
}
